Skip to content

Conversation

hugo-lovighi
Copy link

Problem
Sidebar state resets unexpectedly when hovering over prefetch-enabled links due to server-side state overriding client-side state.

Solution
Move sidebar state management entirely to client-side:

  • Added getCookieValue() helper for client-side cookie reading
  • Enhanced SidebarProvider initialization from cookies
  • Added state synchronization effect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant